package dao;

import java.util.List;

import model.*;

public interface ProjectInfoDao {
	//添加创业项目信息
	void save(ProjectInfo projectInfo);
	ProjectInfo get(int id);
	List<ProjectInfo> getProjectByUser(User user);
	//根据计划书所处的状态查找计划书
	List<ProjectInfo> getByState(int proInState);
	void saveOrUpdate(ProjectInfo projectInfo);
	void update(ProjectInfo projectInfo);
}
